package com.deli.mapper;

import com.baidu.fsg.uid.worker.entity.WorkerNodeEntity;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * @Description: 百度uidgenerator
 * @Author: xudeli
 * @CreateDate: 2019/6/17 22:19
 **/
@Repository
public interface WorkerNodeMapper {

    WorkerNodeEntity getWorkerNodeByHostPort(@Param("host") String var1, @Param("port") String var2);

    void addWorkerNode(WorkerNodeEntity var1);
}
